"); //LRV - gup php cuntion function getParam($queryString, $param) { foreach (explode('&', $queryString) as $kvpair) { $keyval = explode('=', $kvpair); if($keyval[0]==$param) { return $keyval[1]; } } return ''; } ?> " . _SUCCESS_DELETEMAP; } else { $delete_message = _ERROR . "
" . _ERROR_DELETEMAP; } } $maxRows_rst_savemap = 1; $pageNum_rst_savemap = 0; if (isset($_GET['pageNum_rst_savemap'])) { $pageNum_rst_savemap = $_GET['pageNum_rst_savemap']; } $startRow_rst_savemap = $pageNum_rst_savemap * $maxRows_rst_savemap; $colname_rst_savemap = "-1"; if (isset($_POST['mapname'])) { $colname_rst_savemap = (get_magic_quotes_gpc()) ? $_POST['mapname'] : addslashes($_POST['mapname']); } mysql_select_db($database_multiplotter, $multiplotter); $query_rst_savemap = sprintf("SELECT map_id FROM `map` WHERE map_name = '%s'", $colname_rst_savemap); $query_limit_rst_savemap = sprintf("%s LIMIT %d, %d", $query_rst_savemap, $startRow_rst_savemap, $maxRows_rst_savemap); $rst_savemap = mysql_query($query_limit_rst_savemap, $multiplotter) or die(mysql_error()); $row_rst_savemap = mysql_fetch_assoc($rst_savemap); if (isset($_GET['totalRows_rst_savemap'])) { $totalRows_rst_savemap = $_GET['totalRows_rst_savemap']; } else { $all_rst_savemap = mysql_query($query_rst_savemap); $totalRows_rst_savemap = mysql_num_rows($all_rst_savemap); } $totalPages_rst_savemap = ceil($totalRows_rst_savemap/$maxRows_rst_savemap)-1; //LRV - Define messages define("_SUCCESS_SAVEMAP", "Your map has been saved successfully."); define("_SUCCESS_UPDATEMAP", "Your map has been successfully updated."); define("_ERROR_MAPNAME","The name of your map already exists. Please choose another name."); define("_ERROR_MAPINFO","You appear to be saving a blank map. Please make sure to plot something before saving."); define("_ERROR_MAPDESCRIPTION","Please write a description for your map."); define("_ERROR_LOGIN","Only registered users can save maps. Please login or create an account."); define("_ERROR_OWNER","You are not the owner of this map."); define("_ERROR_PUBLIC2","This map is not defined as public and editable."); define("_ERROR_LOGIN_EXTENDED","Only registered users are allowed to save maps. Login or Create a new account"); define("_LOGIN_REQUIRED","This is a registered users area. Login or Create a new account"); //LRV - process the Save Map function if(isset($_POST['action']) && !strcmp($_POST['action'],"savemap")) { $result_mapname = !$totalRows_rst_savemap && strlen(trim($_POST['mapname'])); $result_mapinfo = strlen(trim($_POST['mapinfo'])); $result_mapdescription = strlen(trim($_POST['mapdescription'])); $result_login = isset($_SESSION['MM_Username']); $result_savemap = $result_mapname && $result_mapinfo && $result_login && $result_mapdescription; if($result_savemap) { $query = sprintf("INSERT INTO map (map_name,user_id,user_email,user_username,map_description,map_date,map_profile,map_link,map_info,map_show) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)", GetSQLValueString(trim($_POST['mapname']), "text"), GetSQLValueString($_SESSION['MM_UserId'], "int"), GetSQLValueString($_SESSION['MM_Username'], "text"), GetSQLValueString($_SESSION['MM_UserUsername'], "text"), GetSQLValueString(trim($_POST['mapdescription']), "text"), GetSQLValueString(time(), "int"), GetSQLValueString($_POST['maptype'], "text"), GetSQLValueString($_POST['maplink'], "text"), GetSQLValueString($_POST['mapinfo'], "text"), GetSQLValueString(1, "int")); $result = mysql_query($query, $multiplotter) or die(mysql_error($multiplotter)); $result_id = mysql_insert_id($multiplotter); $message = _SUCCESS . "
" . _SUCCESS_SAVEMAP; } else { $message = _ERROR; if(!$result_mapname) $message.= "
" . _ERROR_MAPNAME; if(!$result_mapinfo) $message.= "
" . _ERROR_MAPINFO; if(!$result_mapdescription) $message.= "
" . _ERROR_MAPDESCRIPTION; if(!$result_login) $message.= "
" . _ERROR_LOGIN; } } //LRV - process the Update Map function if(isset($_POST['action']) && !strcmp($_POST['action'],"updatemap")) { $result_mapinfo = strlen(trim($_POST['mapinfo'])); $result_mapdescription = strlen(trim($_POST['mapdescription'])); $result_login = isset($_SESSION['MM_Username']); $result_owner = !strcmp($_SESSION['MM_Username'],$row_rst_selectedupdate['user_email']) || !strcmp($_SESSION['MM_UserGroup'],"admin"); $result_public2 = !strcmp($row_rst_selectedupdate['map_profile'],"public2"); $result_updatemap = $result_mapinfo && $result_login && ($result_owner || $result_public2) && $result_mapdescription; if($result_updatemap) { $query = sprintf("UPDATE map SET map_description = %s, map_profile = %s, map_link = %s, map_info = %s, map_show = %s WHERE map_id = %s", GetSQLValueString(trim($_POST['mapdescription']), "text"), GetSQLValueString($_POST['maptype'], "text"), GetSQLValueString($_POST['maplink'], "text"), GetSQLValueString($_POST['mapinfo'], "text"), GetSQLValueString(1, "int"), GetSQLValueString($_GET['map_id'], "int")); $result = mysql_query($query, $multiplotter) or die(mysql_error($multiplotter)); $message = _SUCCESS . "
" . _SUCCESS_UPDATEMAP; } else { $message = _ERROR; if(!$result_mapinfo) $message.= "
" . _ERROR_MAPINFO; if(!$result_mapdescription) $message.= "
" . _ERROR_MAPDESCRIPTION; if(!$result_login) $message.= "
" . _ERROR_LOGIN; if(!$result_owner) $message.= "
" . _ERROR_OWNER; if(!$result_public2) $message.= "
" . _ERROR_PUBLIC2; } } $maxRows_rst_mymaps = 10; $pageNum_rst_mymaps = 0; if (isset($_GET['pageNum_rst_mymaps'])) { $pageNum_rst_mymaps = $_GET['pageNum_rst_mymaps']; } $startRow_rst_mymaps = $pageNum_rst_mymaps * $maxRows_rst_mymaps; $colname_rst_mymaps = "-1"; if (isset($_SESSION['MM_Username'])) { $colname_rst_mymaps = (get_magic_quotes_gpc()) ? $_SESSION['MM_Username'] : addslashes($_SESSION['MM_Username']); } $colname2_rst_mymaps = ""; if (isset($_GET['search_mymaps'])) { $colname2_rst_mymaps = (get_magic_quotes_gpc()) ? $_GET['search_mymaps'] : addslashes($_GET['search_mymaps']); } mysql_select_db($database_multiplotter, $multiplotter); $query_rst_mymaps = sprintf("SELECT * FROM `map` WHERE user_email = '%s' AND (map_name LIKE '%%%s%%' OR map_description LIKE '%%%s%%') ORDER BY map_name ASC", $colname_rst_mymaps,$colname2_rst_mymaps,$colname2_rst_mymaps); $query_limit_rst_mymaps = sprintf("%s LIMIT %d, %d", $query_rst_mymaps, $startRow_rst_mymaps, $maxRows_rst_mymaps); $rst_mymaps = mysql_query($query_limit_rst_mymaps, $multiplotter) or die(mysql_error()); $row_rst_mymaps = mysql_fetch_assoc($rst_mymaps); if (isset($_GET['totalRows_rst_mymaps'])) { $totalRows_rst_mymaps = $_GET['totalRows_rst_mymaps']; } else { $all_rst_mymaps = mysql_query($query_rst_mymaps); $totalRows_rst_mymaps = mysql_num_rows($all_rst_mymaps); } $totalPages_rst_mymaps = ceil($totalRows_rst_mymaps/$maxRows_rst_mymaps)-1; $maxRows_rst_allmaps = 10; $pageNum_rst_allmaps = 0; if (isset($_GET['pageNum_rst_allmaps'])) { $pageNum_rst_allmaps = $_GET['pageNum_rst_allmaps']; } $startRow_rst_allmaps = $pageNum_rst_allmaps * $maxRows_rst_allmaps; $colname_rst_allmaps = "-1"; if (isset($_SESSION['MM_UserGroup'])) { $colname_rst_allmaps = (get_magic_quotes_gpc()) ? $_SESSION['MM_UserGroup'] : addslashes($_SESSION['MM_UserGroup']); } $colname2_rst_allmaps = ""; if (isset($_GET['search_allmaps'])) { $colname2_rst_allmaps = (get_magic_quotes_gpc()) ? $_GET['search_allmaps'] : addslashes($_GET['search_allmaps']); } mysql_select_db($database_multiplotter, $multiplotter); $query_rst_allmaps = sprintf("SELECT * FROM `map` WHERE 'admin' = '%s' AND (map_name LIKE '%%%s%%' OR map_description LIKE '%%%s%%') ORDER BY map_name ASC", $colname_rst_allmaps,$colname2_rst_allmaps,$colname2_rst_allmaps); $query_limit_rst_allmaps = sprintf("%s LIMIT %d, %d", $query_rst_allmaps, $startRow_rst_allmaps, $maxRows_rst_allmaps); $rst_allmaps = mysql_query($query_limit_rst_allmaps, $multiplotter) or die(mysql_error()); $row_rst_allmaps = mysql_fetch_assoc($rst_allmaps); if (isset($_GET['totalRows_rst_allmaps'])) { $totalRows_rst_allmaps = $_GET['totalRows_rst_allmaps']; } else { $all_rst_allmaps = mysql_query($query_rst_allmaps); $totalRows_rst_allmaps = mysql_num_rows($all_rst_allmaps); } $totalPages_rst_allmaps = ceil($totalRows_rst_allmaps/$maxRows_rst_allmaps)-1; $maxRows_rst_publicmaps = 10; $pageNum_rst_publicmaps = 0; if (isset($_GET['pageNum_rst_publicmaps'])) { $pageNum_rst_publicmaps = $_GET['pageNum_rst_publicmaps']; } $startRow_rst_publicmaps = $pageNum_rst_publicmaps * $maxRows_rst_publicmaps; $colname_rst_publicmaps = ""; if (isset($_GET['search_publicmaps'])) { $colname_rst_publicmaps = (get_magic_quotes_gpc()) ? $_GET['search_publicmaps'] : addslashes($_GET['search_publicmaps']); } mysql_select_db($database_multiplotter, $multiplotter); $query_rst_publicmaps = sprintf("SELECT * FROM `map` WHERE map_profile LIKE 'public%%' AND map_show = 1 AND (map_name LIKE '%%%s%%' OR map_description LIKE '%%%s%%') ORDER BY map_name ASC", $colname_rst_publicmaps,$colname_rst_publicmaps); $query_limit_rst_publicmaps = sprintf("%s LIMIT %d, %d", $query_rst_publicmaps, $startRow_rst_publicmaps, $maxRows_rst_publicmaps); $rst_publicmaps = mysql_query($query_limit_rst_publicmaps, $multiplotter) or die(mysql_error()); $row_rst_publicmaps = mysql_fetch_assoc($rst_publicmaps); if (isset($_GET['totalRows_rst_publicmaps'])) { $totalRows_rst_publicmaps = $_GET['totalRows_rst_publicmaps']; } else { $all_rst_publicmaps = mysql_query($query_rst_publicmaps); $totalRows_rst_publicmaps = mysql_num_rows($all_rst_publicmaps); } $totalPages_rst_publicmaps = ceil($totalRows_rst_publicmaps/$maxRows_rst_publicmaps)-1; $colname_rst_updatemap = "-1"; if (isset($_GET['map_id'])) { $colname_rst_updatemap = (get_magic_quotes_gpc()) ? $_GET['map_id'] : addslashes($_GET['map_id']); } $colname2_rst_updatemap = "-1"; if (isset($_GET['updatemap'])) { $colname2_rst_updatemap = (get_magic_quotes_gpc()) ? $_GET['updatemap'] : addslashes($_GET['updatemap']); } $colname3_rst_updatemap = "-1"; if (isset($_SESSION['MM_Username'])) { $colname3_rst_updatemap = (get_magic_quotes_gpc()) ? $_SESSION['MM_Username'] : addslashes($_SESSION['MM_Username']); } $colname4_rst_updatemap = "-1"; if (isset($_SESSION['MM_UserGroup'])) { $colname4_rst_updatemap = (get_magic_quotes_gpc()) ? $_SESSION['MM_UserGroup'] : addslashes($_SESSION['MM_UserGroup']); } mysql_select_db($database_multiplotter, $multiplotter); $query_rst_updatemap = sprintf("SELECT * FROM `map` WHERE map_id = %s AND '' = '%s' AND ( user_email = %s OR 'admin' = %s OR map_profile = 'public2' )", GetSQLValueString($colname_rst_updatemap, "int"), $colname2_rst_updatemap, GetSQLValueString($colname3_rst_updatemap, "text"), GetSQLValueString($colname4_rst_updatemap, "text")); $rst_updatemap = mysql_query($query_rst_updatemap, $multiplotter) or die(mysql_error()); $row_rst_updatemap = mysql_fetch_assoc($rst_updatemap); $totalRows_rst_updatemap = mysql_num_rows($rst_updatemap); mysql_select_db($database_multiplotter, $multiplotter); $query_rst_users = "SELECT user_id, user_email, user_username, user_profile, user_status FROM users ORDER BY user_id ASC"; $rst_users = mysql_query($query_rst_users, $multiplotter) or die(mysql_error()); $row_rst_users = mysql_fetch_assoc($rst_users); $totalRows_rst_users = mysql_num_rows($rst_users); $queryString_rst_allmaps = ""; if (!empty($_SERVER['QUERY_STRING'])) { $params = explode("&", $_SERVER['QUERY_STRING']); $newParams = array(); foreach ($params as $param) { if (stristr($param, "pageNum_rst_allmaps") == false && stristr($param, "totalRows_rst_allmaps") == false && stristr($param, "showtab") == false) { array_push($newParams, $param); } } if (count($newParams) != 0) { $queryString_rst_allmaps = "&" . htmlentities(implode("&", $newParams)); } } $queryString_rst_allmaps = sprintf("&totalRows_rst_allmaps=%d%s", $totalRows_rst_allmaps, $queryString_rst_allmaps); $queryString_rst_publicmaps = ""; if (!empty($_SERVER['QUERY_STRING'])) { $params = explode("&", $_SERVER['QUERY_STRING']); $newParams = array(); foreach ($params as $param) { if (stristr($param, "pageNum_rst_publicmaps") == false && stristr($param, "totalRows_rst_publicmaps") == false && stristr($param, "showtab") == false) { array_push($newParams, $param); } } if (count($newParams) != 0) { $queryString_rst_publicmaps = "&" . htmlentities(implode("&", $newParams)); } } $queryString_rst_publicmaps = sprintf("&totalRows_rst_publicmaps=%d%s", $totalRows_rst_publicmaps, $queryString_rst_publicmaps); $queryString_rst_mymaps = ""; if (!empty($_SERVER['QUERY_STRING'])) { $params = explode("&", $_SERVER['QUERY_STRING']); $newParams = array(); foreach ($params as $param) { if (stristr($param, "pageNum_rst_mymaps") == false && stristr($param, "totalRows_rst_mymaps") == false && stristr($param, "showtab") == false) { array_push($newParams, $param); } } if (count($newParams) != 0) { $queryString_rst_mymaps = "&" . htmlentities(implode("&", $newParams)); } } $queryString_rst_mymaps = sprintf("&totalRows_rst_mymaps=%d%s", $totalRows_rst_mymaps, $queryString_rst_mymaps); $queryString_rst_savemap = ""; if (!empty($_SERVER['QUERY_STRING'])) { $params = explode("&", $_SERVER['QUERY_STRING']); $newParams = array(); foreach ($params as $param) { if (stristr($param, "pageNum_rst_savemap") == false && stristr($param, "totalRows_rst_savemap") == false) { array_push($newParams, $param); } } if (count($newParams) != 0) { $queryString_rst_savemap = "&" . htmlentities(implode("&", $newParams)); } } $queryString_rst_savemap = sprintf("&totalRows_rst_savemap=%d%s", $totalRows_rst_savemap, $queryString_rst_savemap); ?> Multiplottr.com -- Plot, save and share multiple points and locations on your own customized maps.

Plot, save and share multiple locations on a map. Fully customize your maps and share them with friends.

Processing
Processing

Address Description

If the Header 1 format is used, the legend will only display that text. All text will display in the marker description.


Address Single Line Field

Enter your full address or your latitude & longitude coordinates.

Address Format: When entering the your address you can enter as little as the country, but if you cannot just put a street address, you must also include the city and state/province because there are SEVERAL locations around the world that have the same street name.

Example by Country:

Germany

Example by City:

Toronto, Canada

Example by Street:

1234 Elm Street, Oklahoma City, Oklahoma

Latitude & Longitude Format: To list both latitude and longitude they must both be seperated by a comma.

Example: ~38.889510,-77.032000

Group Name

Assign Groups to your markers

What is Group Name: Group names help you associate your markers in groups. Using this option and having the "Show Groups" check box (located under the Batch Address Box) checked, you can show or hide all markers assigned in that group.

Format in Batch Address Box:

Address|Description|Marker|Group Name

example: 1600 Pennsylvania Ave, Washington, DC|The White House|Blue|Presidents

The address above is assigned to the group "Presidents"

 

You can use the Group Name text box to assign a group to addresses that are in the "Batch Addresses" box.

Quick Example:

  • California|||West
  • Nevada|||West
  • Pennsylvania|||East
  • New York |||East

The states California and Nevada would be assigned to a group called "West" where the states Pennsylvania and New York will be assigned to a group called "East."

 

If you wish to do several groups, using the Group Name text box, simply plot one group of addresses, type your group description in the "Group Name" text box, hit the submit button, then add your next group and again, type your new group description in the "Group Name" box.

If you leave the Group Name box blank all addresses will be assigned to group "group0". If you do not wish to display the "Group Name" Legend, just unclick the "Group Name" check box located underneath the "Batch Addresses" box.

tools markerTool Marker - Add markers, lines and geometric shapes to your map without using an address.

Simply double click on your map and a small tool icon will appear. This is your Tool Marker. You can drag this icon to any specific location and when you click on the icon you can:

  • Get a points specific Latitude & Longitude
  • Add Lines
  • Get the length of a line in miles and kilometers
  • Create a polygons
  • Add a marker
  • Center your map at the current zoom level and center point when the map loads.

Download KML Files of your Maps (v2.14)

You can now download a kml file of your map. Just plot your map, then click the button "Download KML" - it is located under the "Submit" button. We still have some formatting clean up and we will also be adding the lines and polygons, for right now you can do markers, but hey it looks GREAT in Google Earth.

Embed your map (v2.13)

into your blog, website or what ever! Just go to the My Maps or Public Maps tab and click on the Embed Map in URL, copy the code, place it in your website and there ya go!
Note: Make sure you declare your map width and size before you submit and save it. These fields can be found above the "Submit" button.

Description WYSIWYG (v2.12). Multiplottr's marker description uses HTML format. If you would like to have an easy time on detailed descriptions, use our Address Line Tool (Above the Batch Addresses Box). The Description box will pop up a tool to format your text the way you want it. You can even include images! Give it a try!

Group Names (v2.11). Using Group Names you can assign your markers to designated groups that then can be turned on or off using the Group Legend. You show or hide this legend by using the "Show Groups" checkbox that is located under the "Batch Addresses" box. More Info.

Add To Social Bookmarks:
Add to BlinkBlink
Add to DeliciousDel.icio.us
DiggDigg
FurlFurl
GoogleGoogle
SimpySimpy
SpurlSpurl
YahooY! MyWeb

Designed and Created by
Corey Kliewer at CLiK Productions.com

Database and Programming by
Luis Rivera at AvanteLogic.com

Updated: Version 2.14 September 5, 2007

Multiplottr - Plot, save and share multiple addresses with an easy to create customized map.

WE ARE BACK! After 36 hours of downtime we are back. We hope we havent inconvenienced you too much!

Multiplottr allows you to map, save and share multiple addresses on Google Maps. Customization is easy! You have a wide variety of markers to choose from, and you can give your own alternative description rather then displaying the full address. Add markers, lines and polygons with ease!

Don't Forget! If you wish to save your map - you need to be REGISTERED and you must hit the SAVE button.

Start Mapping Now

Join the Multiplottr Facebook Group

 
  1. Multiplottr
  2. Instructions
  3. Multi-Directions
Search maps: [Clear search]

0) { // Show if recordset not empty ?> " .$delete_message. "

"; } ?>
  • - by -

    [View Map in New Window]  [Edit Map]  [Delete Map]  []  

0) { // Show if not first page ?> ">First ">Previous ">Next ">Last ". ($i+1) .""; } $allmaps_select = ""; ?> Showing record to of a total : Page of : Go to page
There are no maps or none match your search.
 
Search maps: [Clear search]

0) { // Show if recordset not empty ?>
  • - by

    [View Map in New WIndow]  [Edit Map]  []  

0) { // Show if not first page ?> ">First ">Previous ">Next ">Last ". ($i+1) .""; } $publicmaps_select = ""; ?> Showing record to of a total : Page of : Go to page
There are no public maps or none match your search.
 
Search maps: [Clear search]

0) { // Show if recordset not empty ?> " .$delete_message. "

"; } ?>


  • [View Map in New Window]  [Edit Map]  [Delete Map]  []  

0) { // Show if not first page ?> ">First ">Previous ">Next ">Last ". ($i+1) .""; } $mymaps_select = ""; ?> Showing record to of a total : Page of : Go to page
You don't have any saved maps or none match your search.
 
Address or Latitude & Longitudeinfo Description (Optional) info Marker
Group Nameinfo
Batch AddressesUnplotted Addresses
  • Show Zoom Control
  • Zoom Control Type
  • Show Map Type
  • Show Map Overview
  • Show Legend
  • Show Groups
Map size by pixels- x
(750 x 900 = 8.5 X 11 Full page)
Zoom Level
 
 
Save Map Choose a name and description for your map and save it for your records or for the Multiplottr community.
".$message . "
"; ?>
Save Map
".$message . "

"; } ?> Title
/>

Description


0 && strcmp($_SESSION['MM_Username'],$row_rst_updatemap['user_email']) && $_SESSION['MM_UserGroup']!="admin") { echo "
"; } ?> Type
Private - The map doesn't show up in the database, and only you can change it.
/> Public for Viewing - Anyone can see the map, but only you can change it.
/> Public for Editing - Anyone can see the map, and anyone can change it.

0 && strcmp($_SESSION['MM_Username'],$row_rst_updatemap['user_email']) && $_SESSION['MM_UserGroup']!="admin") { echo "
"; } ?>
 
 
Map name: _MAP-NAME_
Map description: _MAP-DSC_
"; echo str_replace("_MAP-NAME_",$row_rst_showmap['map_name'],str_replace("_MAP-DSC_",$row_rst_showmap['map_description'],$p_format)); } ?>
Edit Map